package com.woniuxy.search;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author LinKe
 * @version 1.0
 * @date 2021/11/11 1:12
 * elasticsearch搜索测试用 的接口
 */
public interface GoodsRespository extends ElasticsearchRepository<Goods,Integer>{
    List<Goods> findByName(String name);
}
